import {post,get} from '../axios'

export default{
	bannerList(){
		return get('/main/banner_list');
	},
	hotGoods(){
		return get('/main/get_hot_goods');		
	},
	topCategory(){
		return get('/main/get_cate');		
	},
	topSecCategory(goodsName){
		return get('/main/get_cates');
	},
	  //搜索商品
  	searchGoods(goodsName){
    	return post('/main/search_goods',{title:goodsName});
  	},

}
